/* 全局样式 */
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* 导航栏样式增强 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* 卡片样式增强 */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

.card-header.bg-primary {
    background: linear-gradient(45deg, #0062cc, #007bff) !important;
}

.card-header.bg-danger {
    background: linear-gradient(45deg, #c82333, #dc3545) !important;
}

/* 按钮样式美化 */
.btn {
    border-radius: 5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(45deg, #0062cc, #007bff);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #005cbf, #0069d9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-danger {
    background: linear-gradient(45deg, #c82333, #dc3545);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #bd2130, #c82333);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-success {
    background: linear-gradient(45deg, #218838, #28a745);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(45deg, #1e7e34, #218838);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* 表格样式美化 */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 123, 255, 0.03);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.075);
}

/* 徽章样式美化 */
.badge {
    padding: 0.4rem 0.6rem;
    font-weight: 500;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 自定义动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 其他组件美化 */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jumbotron {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

/* 表单样式美化 */
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 1.5rem 0;
    margin-top: 2rem;
} 